package com.ad.platform.model;

import com.ad.platform.model.base.BaseModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * <p>
 * 餐饮类商家服务类型
 * </p>
 *
 * @author rclia
 * @since 2021-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EatService对象", description="餐饮类商家服务类型")
public class EatService extends BaseModel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商家id")
    private Long merchantId;

    @ApiModelProperty(value = "title")
    private String title;

    @ApiModelProperty(value = "订单类型(PICK_UP预约自提单;TAKE_OUT外卖单;IN_HALL店内就餐单;SUBSCRIBE_IN_HALL预约堂食单)")
    private String orderType;

    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "json值")
    private String dataJson;

    @ApiModelProperty(value = "上下架状态(Y/N)")
    private String status;

    @ApiModelProperty(value = "起送金额")
    private BigDecimal sendPrice;

    @ApiModelProperty(value = "是否自动接单")
    private String autoAccept;

    @ApiModelProperty(value = "预定等操作定金比例")
    private Integer depositRate;

    @ApiModelProperty(value = "茶位费")
    private BigDecimal tableFeePerPerson;

    @ApiModelProperty(value = "在线支付")
    @TableField("payOnLine")
    private String payOnLine;

}
